|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/self/root/usr/share/bash-completion/completions/ |
Upload File : |
# locale-gen(8) completion -*- shell-script -*-
_locale_gen()
{
local cur prev words cword split
_init_completion -s || return
case $prev in
--help | -h)
return
;;
--aliases)
_filedir alias
return
;;
esac
$split && return
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
return
fi
COMPREPLY=($(compgen -W \
'$(awk "{ print \$1 }" /usr/share/i18n/SUPPORTED 2>/dev/null)' \
-- "$cur"))
} &&
complete -F _locale_gen locale-gen
# ex: filetype=sh